/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package progin;

import java.util.Date;

/**
 *
 * @author Jiwandono
 */
public class chatPresence {
    public String username;
    public String room;
    public String type;
    public Date timestamp;

    public chatPresence(String _username, String _room, String _type) {
        username = _username;
        room = _room;
        type = _type;
        timestamp = new Date();
    }

    public void update() {
        timestamp = new Date();
    }
}
